﻿using System;

namespace Ayatta.Contract.Domain
{
    public class GameUser : BaseEntity<int>
    {
        /// <summary>
        /// 用户GUID
        /// </summary>
        public string Guid { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 游戏Id
        /// </summary>
        public int GameId { get; set; }

        /// <summary>
        /// 服Id
        /// </summary>
        public int ServerId { get; set; }

        /// <summary>
        /// 游戏中角色名
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 游戏Vip
        /// </summary>
        public int Vip { get; set; }

        /// <summary>
        /// 游戏中等级
        /// </summary>
        public int Level { get; set; }

        /// <summary>
        /// 游戏中金币
        /// </summary>
        public int Currency { get; set; }

        /// <summary>
        /// 扩展信息
        /// </summary>
        public string Extra { get; set; }

        /// <summary>
        /// 最后一次登录时间
        /// </summary>
        public DateTime LastLoginOn { get; set; }

        /// <summary>
        /// 最后一次更新时间
        /// </summary>
        public DateTime ModifiedOn { get; set; }

    }
}